package com.zhiyou.app.shop.website.dao.pojo;



import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * TransferInfo entity. @author MyEclipse Persistence Tools
 */

public class TransferInfo implements java.io.Serializable {

	// Fields

	private String id;
	private String userId;
	private String toUserId;
	private String type;
	private BigDecimal amount;
	private Timestamp postTime;
	private BigDecimal fee;
	private String accountType;

	// Constructors

	/** default constructor */
	public TransferInfo() {
	}

	/** minimal constructor */
	public TransferInfo(String userId) {
		this.userId = userId;
	}

	/** full constructor */
	public TransferInfo(String userId, String toUserId, String type,
			BigDecimal amount, Timestamp postTime, BigDecimal fee, String accountType) {
		this.userId = userId;
		this.toUserId = toUserId;
		this.type = type;
		this.amount = amount;
		this.postTime = postTime;
		this.fee = fee;
		this.accountType = accountType;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getToUserId() {
		return this.toUserId;
	}

	public void setToUserId(String toUserId) {
		this.toUserId = toUserId;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Timestamp getPostTime() {
		return this.postTime;
	}

	public void setPostTime(Timestamp postTime) {
		this.postTime = postTime;
	}

	public BigDecimal getFee() {
		return fee;
	}

	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}

	public String getAccountType() {
		return accountType;
	}

	public void setAccountType(String accountType) {
		this.accountType = accountType;
	}

}